package si.yun.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;


import java.io.Serializable;

/**
 * @Author Cxc 
 * @Author QQ:1304793236 
 * @Date 2021-08-06 14:02:20 
 */
public class SyOperationLog implements Serializable {

	private static final long serialVersionUID =  8834758762543080396L;

	/**
	 * 主键id
	 */
	private int id;

	/**
	 * 被操作的功能列表
	 */
	private String tablename;

	/**
	 * 操作类型(2添加，3删除，4修改，5查找)
	 */
	private int type;

	/**
	 * 操作人员
	 */
	private int mid;

	/**
	 * 操作时间
	 */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private String createDate;

	/**
	 * 备注
	 */
	private String remark;

    /**
     * 操作人名称
     */
    private String trueName;

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }


  public String getTablename() {
    return tablename;
  }

  public void setTablename(String tablename) {
    this.tablename = tablename;
  }


  public int getType() {
    return type;
  }

  public void setType(int type) {
    this.type = type;
  }


  public int getMid() {
    return mid;
  }

  public void setMid(int mid) {
    this.mid = mid;
  }


    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }
}
